﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kindohm.Life.Library
{
    public abstract class HeartbeatObject : BoardObject
    {
        World world;
        int heartbeats;
        bool done;

        public bool Done
        {
            get { return this.done; }
            set { this.done = value; }
        }

        public int Heartbeats
        {
            get { return this.heartbeats; }
            set { this.heartbeats = value; }
        }

        public World World
        {
            get { return this.world; }
            set { this.world = value; }
        }

        public virtual void RunHeartbeat()
        {
            this.Heartbeats++;
        }

    }
}
